Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Diagnostics.​Metrics.​MeasurementCallback<​T>

Assembly: System.Diagnostics.DiagnosticSource

Inheritance: object → delegate → MulticastDelegate → MeasurementCallback

Implemented Interfaces

A delegate to represent the Meterlistener callbacks that are used when recording measurements.

Properties

public bool
HasSingleTarget
Method
public object
Target

Methods

public void
Invoke​(Instrument instrument, T measurement, ReadOnlySpan<​Collections.​Generic.​KeyValuePair<​string, object>> tags, object state)
public IAsyncResult
BeginInvoke​(Instrument instrument, T measurement, ReadOnlySpan<​Collections.​Generic.​KeyValuePair<​string, object>> tags, object state, AsyncCallback callback, object object)
public void
EndInvoke​(IAsyncResult result)
protected delegate
CombineImpl​(delegate follow)
Inherited from MulticastDelegate
public bool
Equals​(object obj)
Inherited from MulticastDelegate
public int
GetHashCode​()
Inherited from MulticastDelegate
public delegate[]
GetInvocationList​()
Inherited from MulticastDelegate
GetMethodImpl​()
Inherited from MulticastDelegate
protected delegate
RemoveImpl​(delegate value)
Inherited from MulticastDelegate
public object
Clone​()
Inherited from delegate
public object
DynamicInvoke​(object[] args)
Inherited from delegate
protected object
DynamicInvokeImpl​(object[] args)
Inherited from delegate
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object